package jmine.tec.script.persistent.domain;

import bancosys.tec.persist.builders.AbstractDBBuilder;

/**
 * @author lundberg
 */
public class ScriptLanguageBuilder extends AbstractDBBuilder<ScriptLanguage> {

    private ScriptLanguage entity = this.createBean(ScriptLanguage.class);

    @Override
    protected ScriptLanguage doBuild() {
        return this.entity;
    }

    public ScriptLanguageBuilder mnemonico(String value) {
        this.entity.setMnemonico(value);
        return this;
    }

    public ScriptLanguageBuilder abreviacao(String value) {
        this.entity.setAbreviacao(value);
        return this;
    }

    public ScriptLanguageBuilder executorClass(String value) {
        this.entity.setExecutorClass(value);
        return this;
    }

}
